package com.tmeone.erpone.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author tmeone
 * @since 2021-04-19
 */
@TableName("t_product")
public class Product implements Serializable {

    /**
     * 商品id
     */
    private String id;

    /**
     * 商品编号
     */
    private String pNumber;

    /**
     * 商品名称
     */
    private String pName;

    /**
     * 商品图片
     */
    private String pImg;

    /**
     * 商品价格
     */
    private Double pPrice;

    /**
     * 分类
     */
    private String pEnterprise;

    /**
     * 添加时间
     */
    private LocalDateTime pAddtime;

    /**
     * 申请状态
     */
    private String aStatus;

    /**
     * 商品状态
     */
    private String pStatus;
    /**
     * 公司名称
     */
    @TableField(exist = false)
    private String companyName;
    /**
     * 公司id
     */
    private String companyId;

    /**
     * 产地
     */
    private String pLocal;

    /**
     * 保质期
     */
    private String pShelflife;

    /**
     * 材质
     */
    private String pMaterial;

    /**
     * 品牌
     */
    private String pBrand;

    /**
     * 商品质量
     */
    private Double pQuality;

    /**
     * 商品种类
     */
    private String pKind;

    /**
     * 备注
     */
    private String pRemarks;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpNumber() {
        return pNumber;
    }

    public void setpNumber(String pNumber) {
        this.pNumber = pNumber;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpImg() {
        return pImg;
    }

    public void setpImg(String pImg) {
        this.pImg = pImg;
    }

    public Double getpPrice() {
        return pPrice;
    }

    public void setpPrice(Double pPrice) {
        this.pPrice = pPrice;
    }

    public String getpEnterprise() {
        return pEnterprise;
    }

    public void setpEnterprise(String pEnterprise) {
        this.pEnterprise = pEnterprise;
    }

    public LocalDateTime getpAddtime() {
        return pAddtime;
    }

    public void setpAddtime(LocalDateTime pAddtime) {
        this.pAddtime = pAddtime;
    }

    public String getaStatus() {
        return aStatus;
    }

    public void setaStatus(String aStatus) {
        this.aStatus = aStatus;
    }

    public String getpStatus() {
        return pStatus;
    }

    public void setpStatus(String pStatus) {
        this.pStatus = pStatus;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getpLocal() {
        return pLocal;
    }

    public void setpLocal(String pLocal) {
        this.pLocal = pLocal;
    }

    public String getpShelflife() {
        return pShelflife;
    }

    public void setpShelflife(String pShelflife) {
        this.pShelflife = pShelflife;
    }

    public String getpMaterial() {
        return pMaterial;
    }

    public void setpMaterial(String pMaterial) {
        this.pMaterial = pMaterial;
    }

    public String getpBrand() {
        return pBrand;
    }

    public void setpBrand(String pBrand) {
        this.pBrand = pBrand;
    }

    public Double getpQuality() {
        return pQuality;
    }

    public void setpQuality(Double pQuality) {
        this.pQuality = pQuality;
    }

    public String getpKind() {
        return pKind;
    }

    public void setpKind(String pKind) {
        this.pKind = pKind;
    }

    public String getpRemarks() {
        return pRemarks;
    }

    public void setpRemarks(String pRemarks) {
        this.pRemarks = pRemarks;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
